<?php

/** 
 * @author Administrator
 * 
 */
class Empty_balance_log_mdl extends \MY_Model {
	
	/**
	 */
	public function __construct() {
		parent::__construct ();
		$this->_table = 'hs_empty_balance_log';
	}
	
	public function record($adminID,$userID,$amount){
		$insert = array(
				'adminID'=>$adminID,
				'userID'=>$userID,
				'amount'=>$amount,
				'time'=>time(),
		);
		return $this->insert($insert);
	}
	
}

